package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 移库单明细对象 move_order_info
 * 
 * @author ruoyi
 * @date 2025-02-11
 */
public class MoveOrderInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 移库单ID */
    @Excel(name = "移库单ID")
    private Long moveOrderId;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 规格 */
    @Excel(name = "规格")
    private String productSpec;

    /** 批次 */
    @Excel(name = "批次")
    private String batchNo;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 原库位 */
    @Excel(name = "原库位")
    private Long originalWarehouseId;

    /** 移入库位 */
    @Excel(name = "移入库位")
    private Long targetWarehouseId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMoveOrderId(Long moveOrderId) 
    {
        this.moveOrderId = moveOrderId;
    }

    public Long getMoveOrderId() 
    {
        return moveOrderId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductSpec(String productSpec) 
    {
        this.productSpec = productSpec;
    }

    public String getProductSpec() 
    {
        return productSpec;
    }
    public void setBatchNo(String batchNo) 
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo() 
    {
        return batchNo;
    }
    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setOriginalWarehouseId(Long originalWarehouseId) 
    {
        this.originalWarehouseId = originalWarehouseId;
    }

    public Long getOriginalWarehouseId() 
    {
        return originalWarehouseId;
    }
    public void setTargetWarehouseId(Long targetWarehouseId) 
    {
        this.targetWarehouseId = targetWarehouseId;
    }

    public Long getTargetWarehouseId() 
    {
        return targetWarehouseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("moveOrderId", getMoveOrderId())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("productCode", getProductCode())
            .append("productSpec", getProductSpec())
            .append("batchNo", getBatchNo())
            .append("unitPrice", getUnitPrice())
            .append("num", getNum())
            .append("originalWarehouseId", getOriginalWarehouseId())
            .append("targetWarehouseId", getTargetWarehouseId())
            .toString();
    }
}
